<!DOCTYPE html>
<%@page language="java" pageEncoding="utf-8" contentType="text/html; charset=UTF-8"%>
<%
	String ctx = request.getContextPath();
%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>新增客户</title>
    <link rel="stylesheet" type="text/css" href="css/basic.css">
    <link rel="stylesheet" type="text/css" href="css/common.css">
    <link rel="stylesheet" type="text/css" href="css/ui.css">
    <link rel="stylesheet" type="text/css" href="css/g.css">
    <!-- 设置JS全局变量  ctx -->
	<script type="text/javascript">
		var ctx = "<%=request.getContextPath()%>";
	</script>
</head>
<body>
    <jsp:include page="head.jsp"></jsp:include>
    <div class="container">
    <jsp:include page="customer_left.jsp"></jsp:include>
        <div class="page-content">
            <div id="content-scroll">
                <div class="cont-area clearfix">
                    <i class="fl"></i><span class="fl"><a href="index.jsp">首页</a>&gt;<a href="customerList.jsp">后台管理</a>&gt;<a href="customerList.jsp">客户列表</a>&gt;新增客户</span>
                </div>
                <div class="form-page">
                    <form>
                        <div class="form-block">
                            <h2>基本信息</h2>
                            <div class="row clearfix">
                                <div class="col j-check fl">
                                    <label><em>*</em>登录用户名：</label>
                                    <input class="required" type="text" name="username">
                                    <span class="message msg-tip"><em></em><i>请输入登录用户名</i></span>
                                </div>
                                <div class="col j-check fl">
                                    <label><em>*</em>真实姓名：</label>
                                    <input class="required" type="text" name="name">
                                    <span class="message msg-tip"><em></em><i>请输入真实姓名</i></span>
                                </div>
                            </div>
                            <div class="row clearfix">
                            	<div class="col j-check fl">
                                    <label><em>*</em>密码：</label>
                                    <input type="text" style="display:none">
									<input type="password" style="display:none">
                                    <input class="required" type="password" name="password">
                                    <span class="message msg-tip"><em></em><i>请输入密码</i></span>
                                </div>
                            	<div class="col j-check fl">
                                    <label><em>*</em>再次输入密码：</label>
                                    <input class="required" type="password" name="confirmPassword">
                                    <span class="message msg-tip"><em></em><i>请再次输入密码</i></span>
                                </div>
                            </div>
                            <div class="row clearfix">
                                <!-- <div class="col j-check fl">
                                    <label><em>*</em>分配空间：</label>
                                    <input class="required" type="text" name="spaceSize" id="j-spaceSize" data-maxstorage="1000000000">G
                                    <span class="message msg-tip"><em></em><i>请输入空间大小</i></span>
                                </div> -->	
                    			<div class="col j-check fl">
                                    <label>套餐选择：</label>
                                    <select name="salesPacakgeId" id="j-package">
                    				</select>
                                </div>
                                <div class="col j-check fl">
                                    <label><em>*</em>最多备份次数：</label>
                                    <input class="required" type="text" name="maxCopys">
                                    <span class="message msg-tip"><em></em><i>请输入最大备份值</i></span>
                                </div>
                            </div>
                            <div class="row clearfix">
                            	<div class="col j-check fl">
                                    <label><em>*</em>公司名称：</label>
                                    <input class="required" type="text" name="companyName">
                                    <span class="message msg-tip"><em></em><i>请输入公司名称</i></span>
                                </div>
                                <div class="col j-check fl">
                                    <label><em>*</em>手机：</label>
                                    <input class="required" type="text" name="mobile">
                                    <span class="message msg-tip"><em></em><i>请输入手机号</i></span>
                                </div>
                            </div>
                            <div class="row clearfix">
                                <div class="col j-check fl">
                                    <label><em>*</em>邮箱：</label>
                                    <input class="required" type="text" name="email">
                                    <span class="message msg-tip"><em></em><i>请输入邮箱</i></span>
                                </div>
                                <div class="col j-check fl">
                                    <label><em>*</em>授权时长：</label>
                                    <input class="required" type="text" name="authTime"> 年
                                    <span class="message msg-tip"><em></em><i>请输入授权时长</i></span>
                                </div>
                            </div>
                            <div class="row j-check g-mt20 clearfix">
                                <label class="vertical-top fl"><em>*</em>授权方式：</label>
                                <textarea class="required fl" name="caIdJoinLabId"></textarea>
                                <span class="message msg-tip fl"><em></em><i>授权的方式的格式为：labId,caId,labType<br/>&emsp;&emsp;(授权方式：0无授权，1key无关联，2授权码，3key关<br/>&emsp;&emsp;联设备，4授权码关联设备)多个授权方式请换行</i></span>
                            </div>
                            <!-- <div class="row j-check g-mt20 clearfix">
                                <label class="vertical-top">备用的加密狗ID：</label>
                                <textarea name=""></textarea>
                            </div> -->
                        </div>
                        <div class="btns-group">
                            <div class="row">
                                <button class="btn" type="button" id="j-addBtn">新增</button>
                                <button class="btn" type="button" id="j-resetBtn">重置</button>
                                <button class="btn" type="button" onclick="location='customerList.jsp'">返回</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <script src="js/yep.min.js" type="text/javascript" data-config="YBA.Config.js"></script>
    <script src="js/common.js" type="text/javascript"></script>
    <script type="text/javascript">
        yepjs.use({
            name: ["jquery", "YBA.Plugin.slimscroll","YBA.Common"],
            callback: function () {
                $('#side-scroll').slimscroll({
                    height:"100%"
                });
                YBA.Common.sidebar();
            }
        });
        yepjs.use({
            name: ["YBA.Logic.Admin.add"],
            callback: function () {
                YBA.Logic.Admin.add();
            }
        });
    </script>
</body>
</html>
